<script lang="ts" setup>
  import BackWard from './sub/BackWard.vue';

  const props = defineProps({
    title: {
      type: String,
      default: '城市生活一线通',
    },
    isShowBack: {
      type: Boolean,
      default: true,
    },
  });
</script>

<template>
  <header class="header">
    <back-ward v-if="props.isShowBack" />
    <h1>{{ props.title }}</h1>
  </header>
</template>

<style lang="scss" scoped>
  @import "./Common.scss";
</style>
